package xcmg.device.dao.mapper.delivery;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.delivery.ReceiptInDO;
import xcmg.device.service.vo.delivery.ReceiptInVO;

import java.util.List;

@Mapper
public interface ReceiptInMapper {
    int deleteByPrimaryKey(String id);

    int insert(ReceiptInDO record);

    ReceiptInDO selectByPrimaryKey(String id);

    int update(ReceiptInDO record);

    List<ReceiptInDO> list(ReceiptInVO condition);

    int listCount(ReceiptInVO condition);

    List<ReceiptInDO> findByIds(@Param("ids") List<String> ids);

    ReceiptInDO findByBillNo(@Param("billNo") String billNo);

    int updateStatus(@Param("inboundOrder") String inboundOrder, @Param("status") Integer status, @Param("orgId") String orgId);
}